﻿using SqlSugar;

namespace StoreSQLSugar_API.Models
{
    public class Product
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ProductId { get; set; }
        public string ProductNo { get; set; } = string.Empty;
        public string ProductName { get; set; } = string.Empty;
        public float MinTemperature { get; set; }
        public float MaxTemperature { get; set; } = 0;
        public string? Remark { get; set; } = null;
        public int Status { get; set; } = 0;
        public int CreateUserId { get; set; }
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public int? LastUpdateUserId { get; set; } = null;
        public DateTime? LastUpdateTime { get; set; } = null;
    }
}
